OptionsDsl

Configures options for Engine.

Since

8.0.0

Constructors

Link copied to clipboard
constructor(builder: EngineOptions.Builder)

Properties

Link copied to clipboard

Allows automatic starting of video and audio playbacks.

Link copied to clipboard

Sets the absolute path to the directory where Chromium binaries are located.

Link copied to clipboard

Sets the disk cache size, in bytes.

Link copied to clipboard

Disables DNS quick check.

Link copied to clipboard

Allows the file:// URIs to read other file:// URIs.

Link copied to clipboard

Configures Google credentials.

Link copied to clipboard

Disables GPU rendering.

Link copied to clipboard

Enables the incognito mode for the default profile.

Link copied to clipboard

Sets the Chromium language, which is used on the default error pages and message dialogs.

Link copied to clipboard

Sets the license key required to perform operations with the engine.

Link copied to clipboard

Enables media routing.

Link copied to clipboard

Sets the password store type that specifies, which storage backend to use to encrypt cookies on Linux.

Link copied to clipboard

List of proprietary features to enable.

Link copied to clipboard

Sets the remote debugging port.

Link copied to clipboard

Sets how long the renderer can be unresponsive before it is considered hung.

Link copied to clipboard

Disables the Chromium sandbox.

Link copied to clipboard

Associates the given URL schemes with the callbacks, so that all URL requests with the given schemes will be intercepted before they are sent out.

Link copied to clipboard

Adds the given origins to the white list, so that they will be treated as secure origins.

Link copied to clipboard

List of switches that will be passed to the Chromium process.

Link copied to clipboard

Disables the popup menu, which is displayed when a user performs long press on the touch screen.

Link copied to clipboard

Sets the custom user agent string, which is used to override engine's default user agent.

Link copied to clipboard

Sets the absolute path to the directory where the user data is stored.

Link copied to clipboard

Disables the same-origin policy.

Functions

Link copied to clipboard
fun google(configuration: GoogleDsl.() -> Unit)

Configures Google credentials.

Link copied to clipboard
fun schemes(configuration: SchemesDsl.() -> Unit)

Associates the given URL schemes with the callbacks, so that all URL requests with the given schemes will be intercepted before they are sent out.